/**
 * Axelor Business Solutions
 *
 * Copyright (C) 2017 Axelor (<http://axelor.com>).
 *
 * This program is free software: you can redistribute it and/or  modify
 * it under the terms of the GNU Affero General Public License, version 3,
 * as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Affero General Public License for more details.
 *
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
  /*
 
 Color Shade 1 : #006666	(Main Color)
 Color Shade 2 : #80B2B2	(Secondary Color for gradiant)
 Color Shade 3 : #BAD6D6	(Header Gradiant #1) F0F3F7
 Color Shade 4 : #D1E3E3	(Header Gradiant #2 and Toolbar Panel) F4F7F9
 Color Shade 5 : #E8F1F1	(Menu background)

 */
   
/**
 * Header
 *
 */
header .navbar-inverse .navbar-inner {
  background-image: url(img/banner.png);
  box-shadow: none;
  border-bottom: 0px solid white;
  background-color: transparent;
  filter: none; /*IE*/
}

header .navbar-inverse .nav > li > a {
  color: #004891;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

header .navbar-inverse .nav > li > a:hover {
  background-color: transparent;
  color: white;
  text-decoration: none;
}

header .navbar-inverse .divider-vertical {
  background-color: #697586;
  border-right: 1px solid #515F71;
  border-left: 1px solid #767F92;
}

header .navbar-inverse .nav li.dropdown .dropdown-toggle .caret,
header .navbar-inverse .nav li.dropdown.open .caret {
  border-top-color: #004891;
  border-bottom-color: #004891;
}

header .container-fluid {
  padding-right: 20px;
  padding-left: 0px;
  *zoom: 1;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, 
.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, 
.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
  background-color: transparent;
}

.title {
	position:absolute;
	width: 100%;
	text-align: center;
	vertical-align: middle;
    font:48px/250px Arial, Helvetica, Sans-serif;
    text-shadow: 1px 1px 1px #005A99, 2px 2px 2px #E33837;
    color: #005A99;
}

/**
 * View content
 */

.view-content {
	position: absolute;
	top: 36px;
	left: 0px;
	right: 0px;
	bottom: 0px;
	background-image: url(img/background.jpg);
	background-repeat: no-repeat;
	background-position: center center;
}

/**
 * Notebook
 */

.nav-tabs-strip {
  height: 26px;
}

.nav-tabs > li > a {
  padding-top: 4px;
  padding-bottom: 4px;
}

.nav-tabs-wrap .nav-tabs a,
.nav-tabs-wrap .nav-tabs a:hover {
  color: #4D5256;
  background-image: -webkit-linear-gradient(top, #D4DEE7, #C4CDD6);
  background-image: -moz-linear-gradient(top, #D4DEE7, #C4CDD6);
  background-image: linear-gradient(top, #D4DEE7, #C4CDD6);
  background-color: #C4CDD6; /*IE*/
  border: 1px solid #A4ACB4;
  border-bottom-color: #A4ACB4;
}

.nav-tabs-wrap .nav-tabs a:hover {
  background-image: -webkit-linear-gradient(top, #D4DEE7 120%, #C4CDD6 120%);
  background-image: -moz-linear-gradient(top, #D4DEE7 120%, #C4CDD6 120%);
  background-image: linear-gradient(top, #D4DEE7 120%, #C4CDD6 120%);
  background-color: #C4CDD6; /*IE*/
}

.nav-tabs-wrap .nav-tabs > .active > a,
.nav-tabs-wrap .nav-tabs > .active > a:hover {
  color: #FFFFE6;
  background-image: -webkit-linear-gradient(top, #99A8B8, #767F92);
  background-image: -moz-linear-gradient(top, #99A8B8, #767F92);
  background-image: linear-gradient(top, #99A8B8, #767F92);
  background-color: #767F92; /*IE*/
  border: 1px solid #767F92;
  border-bottom-color: #767F92;
}

.nav-tabs-wrap .nav-tabs > .active > a:hover {
  color: #555;
  background-image: -webkit-linear-gradient(top, #99A8B8 0%, #767F92 100%);
  background-image: -moz-linear-gradient(top, #99A8B8 0%, #767F92 100%);
  background-image: linear-gradient(top, #99A8B8 0%, #767F92 100%);
  background-color: #767F92; /*IE*/
}

.nav-tabs-wrap .nav-tabs-closable li > i {
  color: #767F92;
}

.nav-tabs-wrap .nav-tabs-closable .active > i {
  color: #FFFFE6;
}

.nav-tabs-wrap {
  border-bottom: 4px solid #767F92;
}

.nav-tabs-wrap .nav-tabs-menu,
.nav-tabs-wrap .nav-tabs-scroll-l,
.nav-tabs-wrap .nav-tabs-scroll-r {
  border-bottom-color: transparent;
}

.nav-tabs-wrap {
  padding: 0 4px;
}

.nav-tabs {
  border-bottom: 0;
}

/**
 * Bars
 */

.record-toolbar.btn-toolbar {
  background-image: -webkit-linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
  background-image: -moz-linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
  background-image: linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
  background-color: #D4DEEE; /*IE*/
  border-top: 1px solid #EFF3F6;
  border-bottom: 1px solid #A7ABB4;
  margin: 0;
}

.stackbar .navbar .navbar-inner {
  filter: none; /*IE*/
  background-image: -webkit-linear-gradient(top, #6A798E 50%, #617082 100%);
  background-image: -moz-linear-gradient(top, #6A798E 50%, #617082 100%);
  background-image: linear-gradient(top, #6A798E 50%, #617082 100%);
  background-color: #6A798E; /*IE*/
  border: 1px solid #6A798E;
}

.stackbar .navbar .brand,
.stackbar .navbar .nav > li > a {
  text-shadow: none;
  
}

.ui-dialog .ui-dialog-titlebar {
  background-image: -webkit-linear-gradient(bottom, #74869d 0%, #29313a 50%, #4d5a66 100%);
  background-image: -moz-linear-gradient(bottom, #74869d 0%, #29313a 50%, #4d5a66 100%);
  background-image: linear-gradient(bottom, #74869d 0%, #29313a 50%, #4d5a66 100%);
  background-color: #29313a; /*IE*/
  border-radius: 0;
}

.ui-dialog .ui-dialog-titlebar *,
.stackbar .navbar,
.stackbar .navbar * {
  color: white;
}

.ui-widget-content {
  border: 1px solid #B2C3D6;
}

.ui-widget-overlay {
  opacity: 0 !important;
}

.ui-dialog {
  border: 2px solid #46525E;
}

.ui-dialog,
.ui-dialog > .ui-widget-content,
.view-container {
  background: #fdfdfd;
}

.ui-dialog .ui-dialog-titlebar {
  padding: .2em 1em;
  font-size: inherit;
  line-height: 18px;
}

.ui-dialog .ui-dialog-titlebar-close {
  margin-top: -12px;
  margin-right: 0px;
}

/**
 * Grid
 */
.slickgrid .slick-header,
.slickgrid .slick-header-column {
  background-image: -webkit-linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  background-image: -moz-linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  background-image: linear-gradient(top, #f6f8f9 0%,#e5ebee 50%,#d7dee3 51%,#f5f7f9 100%);
  background-color: #e5ebee; /*IE*/
}

.slickgrid .slick-header:hover,
.slickgrid .slick-header-column:hover,
.slickgrid .slick-header-column-sorted {
  background-image: -webkit-linear-gradient(top, #fef7e6 0%,#feecbc 50%,#ffe49b 51%,#fef3d6 100%);
  background-image: -moz-linear-gradient(top, #fef7e6 0%,#feecbc 50%,#ffe49b 51%,#fef3d6 100%);
  background-image: linear-gradient(top, #fef7e6 0%,#feecbc 50%,#ffe49b 51%,#fef3d6 100%);
  background-color: #feecbc; /*IE*/
}

.slickgrid .grid-canvas .odd {
    background-color: #E7ECF1;
}

.slickgrid .grid-canvas .selected {
    background-color: #FCEEAF;
}

/**
 * Misc
 */
.sidebar {
  background-color: #fdfdfd;
}

.view-container {
  margin-top: 2px;
}

.view-content {
  top: 28px;
}

.input-append[class*="-required"] input,
input:required, textarea:required, select:required {
  background-color: #D3DFEE;
}

.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled {
  opacity : .99 !important;
}

div .ui-state-disabled input {
  background-color: #ebebeb;
}

div .ui-state-disabled button {
  opacity : .35 !important;
}

.ui-state-disabled[class*="one2many-item"], 
.ui-widget-content .ui-state-disabled[class*="one2many-item"], 
.ui-widget-header .ui-state-disabled[class*="one2many-item"],
div .ui-state-disabled input[type="checkbox"],
fieldset[ui-table-layout][class*="ui-state-disabled"] div[ui-one-to-many],
fieldset[ui-table-layout][class*="ui-state-disabled"] div[ui-many-to-many] {
  opacity : .60 !important;
}

table.form-layout td.form-item input {
min-width: 10px;
height: 24px;
}

.separator-item hr {
    border-top-color: #666;
}

/**
 * Footer
 */
.footer {
	position: absolute;
	left: 0px; right: 0px; bottom: 0px;
	padding-top: 4px;
	background-color: #333;
	color: black;
	background-image: -webkit-linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
    background-image: -moz-linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
    background-image: linear-gradient(top, #B2C3D6 0%, #D4DEEE 100%);
    background-color: #D4DEEE; /*IE*/
}

.footer p {
	font-size: smaller;
	margin-bottom: 4px;
	text-shadow: 0 0px 0px #111;
	text-align: center;
}
.navbar .navbar-inner .container-fluid * > img{
	float:left !important;
}